package com.sky.mapper.admin;

import com.sky.pojo.DishFlavor;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:篍
 * @Date: 2025/08/15 23:39
 * @Description:
 */
@Mapper
public interface DishFlavorMapper {

    void insertBatch(@Param("flavors") List<DishFlavor> flavors);

    void deleteByDishIds(@Param("ids") List<Long> ids);

    List<DishFlavor> getByDishId(Long id);

    void deleteByDishId(Long id);
}
